Commands > V commands > VBARUN > 
VBA Options Dialog Box
 
 
 
Quick Reference

Sets VBA-specific options for the current work session.

Access Methods

Button

 Ribbon: Manage tabApplications panelRun VBA MacroNot available on the ribbon in the current workspace
 Menu: ToolsMacroMacrosNot available in menus in the current workspace
 Command entry: vbarun

List of Options

The following options are displayed.

Enable Auto Embedding

Automatically creates an embedded VBA project for all drawings when you open the drawing.

Allow Break on Errors

Break mode is a temporary suspension of program execution in the development environment. In Break mode, you can examine, debug, reset, step through, or continue program execution.

When you select Allow Break on Errors, unhandled errors found during the execution of a VBA macro suspend the execution of the macro and display the Visual Basic Editor at the point of the error in the macro.

When you clear Allow Break on Errors, untrapped errors found during the execution of a VBA macro display a message alerting you to the error and then end execution of the macro.

Enable Macro Virus Protection

The virus protection mechanism displays a built-in warning message whenever you open a drawing that might contain macro viruses.